package com.tcm.order.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 托寄物信息
 */
public class CargoDetail implements Serializable {

    /**
     * 	货物名称，如果需要生成电子运单，则为必填
     */
    private String name;

    /**
     * 	货物单价，精确到小数点后3位
     */
    private BigDecimal amount;

    /**
     * 货物单价的币别
     */
    private String currency;

    private BigDecimal count;

    private String unit;

    private BigDecimal weight;

    private String sourceArea;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getSourceArea() {
        return sourceArea;
    }

    public void setSourceArea(String sourceArea) {
        this.sourceArea = sourceArea;
    }
}
